Ext.define('PersonnelModel',{
	extend:'Ext.data.Model',
	fields :[{
		name:'id',
		type:'int'
	},{
		name:'employeeId',
		type:'string'
	},{
		name:'companyId',
		type:'string'
	},{
		name:'cnName',
		type:'string'
	},{
		name:'department',
		type:'string'
	},{
		name:'section',
		type:'string'
	},{
		name:'positionName',
		type:'string'
	},{
		name:'superiorName',
		type:'string'
	},{
		name:'remarkDesc',
		type:'string'
	},{
		name:'emClassic',
		type:'string'
	}]
})
Ext.define('TMS.store.Personnels',{
	extend:'Ext.data.Store',
	model:'PersonnelModel',
	alias:'store.personnels',
	data:[{
		id:1
	},{
		id:2
	}],
	/*proxy:{
		type:'ajax',
		api:{
			read:'person',
			update:''
		},
		reader:{
			type:'json',
			rootProperty:'personnels'
		}
	},*/
})